cmake_minimum_required(VERSION 3.10)
project(ModbusLightweight)

# 链接所有C文件
add_executable(ModbusApp main.c Modbus_Poll.c Modbus_Slave.c)